all:
	@echo "Deleting current makefile for a2c"
	rm -f ../a2c/makefile$(EXT)
	@echo "Copying makefile for a2c"
	cp a2c-makefile-Mono ../a2c/makefile$(EXT)
	
	@echo ""
	@echo "Deleting current makefile for rcc"
	rm -f ../tools/rcc/makefile$(EXT)
	@echo "Copying makefile for rcc"
	cp rcc-makefile-Mono ../tools/rcc/makefile$(EXT)
	
	@echo ""
	@echo "Deleting current makefile for tools/cstools-3.5"
	rm -f ../tools/cstools-3.5/makefile$(EXT)
	@echo "Copying makefile for tools/cstools-3.5"
	cp cstools-3.5-makefile-Mono ../tools/cstools-3.5/makefile$(EXT)
	
	@echo ""
	@echo "Deleting current makefile for tools/CS_Lex"
	rm -f ../tools/CS_Lex/makefile$(EXT)
	@echo "Copying makefile for tools/CS_Lex"
	cp cslex-makefile-Mono ../tools/CS_Lex/makefile$(EXT)
	
	@echo ""
	@echo "Deleting current makefile for runtime/C"
	rm -f ../runtime/C/makefile$(EXT)
	@echo "Copying makefile for runtime/C"
	cp runtime-c-makefile-Mono ../runtime/C/makefile$(EXT)
	
	@echo ""
	@echo "Deleting current makefile for test"
	rm -f ../test/makefile$(EXT)
	@echo "Copying makefile for test"
	cp test-makefile-Mono ../test/makefile$(EXT)

	@echo ""
	@echo "Deleting current makefile for tools"
	rm -f ../tools/makefile$(EXT)
	@echo "Copying makefile for tools"
	cp tools-makefile-Mono ../tools/makefile$(EXT)

	@echo ""
	@echo "Deleting current makefile for the main directory"
	rm -f ../makefile$(EXT)
	@echo "Copying makefile for the main directory"
	cp main-makefile-Mono ../makefile$(EXT)

